<h1>New <%= @client.nil? ? "" : @client.name %> project</h1>

<%= form_tag :action => 'create' %>
  <%= render :partial => 'form' %>
  <%= submit_tag "Create" %>
</form>

<% if @client %>
<%= link_to "Back to client #{@client.name}", :action => 'list', :id => @client %> | 
<%end-%>
<%= link_to "All your assigned projects", :action => 'list' %>
